package cn.tedu.spring.resource;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestWeiBoMapper {
    public static void main(String[] args) {

        try{
            ApplicationContext context = new AnnotationConfigApplicationContext(
                    "cn.tedu.spring.resource"
            );

            WeiBoMapper mapper = context.getBean(WeiBoMapper.class);

            System.out.println(mapper);
        }catch (Exception e){
            e.printStackTrace();
        }



    }
}
